<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'addClass.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<LINK href="<%=basePath%>/css/main.css" type="text/css" rel="stylesheet">

</head>

<body>
<TABLE cellPadding=3 width="100%" border=0>
	<TBODY>
		<TR>
			<TD class=Big><IMG src="<%=basePath%>/img/office/address.gif"
				align=absMiddle><SPAN class=big3>&nbsp; 所属栏目管理 </SPAN></TD>
		</TR>
	</TBODY>
</TABLE>

<form action="HotNewsServlet?action=updateType" method="post">
<table class="TableBlock" width="750" align="center">
	<c:forEach items="${typeList}" var="vo" varStatus="status">
		<tr class="small">
			<td class="tdstyle">栏目${status.count }</td>
			<td class="tdstyle"><input type="text" name="typeName"
				value="${vo.typeName}" /> <input type="hidden" name="typeID"
				value="${vo.typeID }" /></td>
		<tr>
			<td class="tdstyle">标语：</td>
			<td class="tdstyle"><textarea rows="5" cols="70" name="remark">${vo.remark }</textarea>
			</td>
	</c:forEach>

	<tr>
		<td align="center" class="tdstyle" colspan="2"><input
			type="submit" value="保存修改" onclick="check()"></td>
	</tr>
</table>
</form>
</body>

</html>
